package com.yl.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author L
 * @since 2023-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("护理等级变更审批实体类")
public class Huligenghuanshenpi implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @ApiModelProperty("主键Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 审批人姓名
     */
    @ApiModelProperty("审批人姓名")
    private String name;

    /**
     * 合同
     */
    @ApiModelProperty("合同")
    private String hetong;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm")
    private Date creatime;

    @ApiModelProperty("软删除")
    @TableField
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("老人外键")
    @TableField("laoren_id")
    private Long laorenId;


    @ApiModelProperty("原因")
    @TableField("yuanyin")
    private String yuanyin;
}
